<!doctype html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <!-- <meta name="viewport" content="width=device-width, initial-scale=1.0" /> -->
    <meta name="viewport" content="width=device-width, initial-scale=1.0,viewport-fit=cover" />
    <title>Document</title>
  </head>
  <body>
    <div class="full">
      <div class="bottom w-full">
        <div class="safeArea w-full"></div>
      </div>
    </div>
    <style>
      body {
        margin: 0;
        height: 100vh;
      }
      .w-full{
       width:100%;
      }
      .full {
        height: 100%;
        background: #9f9;
        position: relative;
      }
      .bottom {
        height: 200px;
        background-color: #99f;
        position: absolute;
        bottom: 0;
      }
      .safeArea {
        height: env(safe-area-inset-bottom);
        background: #f99;
        border: 1px dashed #ff0;
        /* position: absolute;
        bottom: 0; */
      }
    </style>
  </body>
</html>
